// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/stylesheets/base.css'
import 'font-awesome/css/font-awesome.min.css'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Axios from 'axios'
// 调接口相当于ajax
Vue.prototype.$axios = Axios //修改原始数据
Vue.prototype.$http =Axios//放在原型链上
window.axios = Axios
import Avue from '@smallwei/avue';//Avue
import '@smallwei/avue/lib/index.css';
import md5 from 'js-md5';
Vue.prototype.$md5 = md5;
Vue.use(Avue,Axios);
Vue.use(ElementUI);

//尝试webSocket
import global from './util/global.js'
Vue.prototype.$global = global
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  router,
  render: h => h(App)
}).$mount("#app")
